home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 2467 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  893 b 

  1. Path: ix.netcom.com!netnews
  2. From: tetbrac@ix.netcom.com (Tetbrac )
  3. Newsgroups: comp.lang.c
  4. Subject: Re: naked virgin basic help needed for newbie
  5. Date: 21 Jan 1996 18:41:52 GMT
  6. Organization: Netcom
  7. Message-ID: <4du1dg$4pm@cloner3.netcom.com>
  8. References: <4dtvu4$da0@dub-news-svc-1.compuserve.com>
  9. NNTP-Posting-Host: ix-lex1-26.ix.netcom.com
  10. X-NETCOM-Date: Sun Jan 21 10:41:52 AM PST 1996
  11.  
  12. In <4dtvu4$da0@dub-news-svc-1.compuserve.com>
  13. <102627.3053@compuserve.com> writes: 
  14. >
  15. >
  16. >Can anyone tell me why my  compiler is not recognizing   int main
  17. (void)
  18. >or produces an error message at  #include <stdio> as well as printf
  19. and 
  20. >scanf. I admit this is my initial install and I'm sure its something
  21. very basic
  22.  
  23.  I think you mean: void main(); 
  24.  When you #include a header file, you have to specify the entire file
  25. name such as #include <stdio.h>. Hope this helps.
  26.                          Tetbrac
  27.